<?php
/**
 * 技能配置及模板
 */
$GLOBALS['G'] += array(
	// 属性列表
	'skill_formula' => array(
		'hurt_formula'  => '$param1+pow($skillLvl-1, $param2)',
		'speed_formula' => '$baseSpeed+pow($skillLvl-1, $param3)',
	),
	
	'skill_debuff' => array(
		//-- 定身类
		'giddy'		=> array(
			'name'		=> '眩晕',
			'type'		=> 'hold',
			'atk'		=> false,
			'dodge'		=> true,
			'bout'  	=> array(1,3),
			'out_ef'	=> array(7),//对某系属性无效
			'beCovered' => array('puzzle', 'paralysis', 'frozen', 'petrifaction'),
		),
		'fix'		=> array(
			'name'		=> '固定',
			'type'		=> 'hold',
			'atk'		=> false,
			'dodge'		=> false,
			'bout'  	=> array(1,3),
			'out_ef'	=> array(10),//对某系属性无效
			'beCovered' => array('puzzle', 'paralysis', 'frozen', 'petrifaction'),
		),
		'puzzle'	=> array(
			'name'		=> '迷惑',
			'type'		=> 'hold',
			'no_act'	=> 50,// 不能行动机率
			'bout'  	=> array(1,3),
			'out_ef'	=> array(11),//对某系属性无效
			'beCovered' => array('paralysis', 'frozen', 'petrifaction'),
		),
		'paralysis'	=> array(
			'name'		=> '麻痹',
			'type'		=> 'hold',
			'atk'		=> false,
			'dodge'		=> false,
			'bout'  	=> array(1,3),
			'out_ef'	=> array(4),//对某系属性无效
			'beCovered' => array('frozen', 'petrifaction'),
		),
		'frozen'	=> array(
			'name'		=> '冰冻',
			'type'		=> 'hold',
			'-behurted'	=> 80,//受到伤害减少80%
			'atk'		=> false,
			'dodge'		=> false,
			'bout'  	=> array(1,3),
			'out_ef'	=> array(6),//对某系属性无效
			'beCovered' => array('burning'),
		),
		'petrifaction'=> array(
			'name'		=> '石化',
			'type'		=> 'hold',
			'-behurted'	=> 80,//受到伤害减少80%
			'atk'		=> false,
			'dodge'		=> false,
			'bout'  	=> array(1,3),
			'out_ef'	=> array(13,17),//对某系属性无效
			'beCovered' => array(),
		),
		
		//-- 伤害类
		'burning'	=> array(
			'name'		=> '燃烧',
			'type'		=> 'hurt',
			'atk'		=> true,
			'dodge'		=> true,
			'loss_sta'	=> 4,// 每回合损失4%的体力
			'bout'  	=> array(1,3),
			'out_ef'	=> array(2),//对某系属性无效
			'beCovered' => array('drowning'),
		),
		'poisoning'	=> array(
			'name'		=> '中毒',
			'type'		=> 'hurt',
			'atk'		=> true,
			'dodge'		=> true,
			'loss_sta'	=> 4,// 每回合损失4%的体力
			'bout'  	=> array(1,3),
			'out_ef'	=> array(8,17),//对某系属性无效
			'beCovered' => array('highly_toxic'),
		),
		'drowning'	=> array(
			'name'		=> '溺水',
			'type'		=> 'hurt',
			'atk'		=> true,
			'dodge'		=> true,
			'loss_sta'	=> 4,// 每回合损失4%的体力
			'bout'  	=> array(1,3),
			'out_ef'	=> array(3),//对某系属性无效
			'beCovered' => array(),
		),
		'seed'		=> array(
			'name'		=> '种子',
			'type'		=> 'hurt',
			'atk'		=> true,
			'dodge'		=> true,
			'loss_sta'	=> 2,// 每回合损失4%的体力
			'back_sta'	=> 100,// 每回合loss_sta损失的体力中有多少反馈给攻击方
			'bout'  	=> array(1,3),
			'out_ef'	=> array(5),//对某系属性无效
			'beCovered' => array('curse'),
		),
		'highly_toxic'=> array(
			'name'		=> '剧毒',
			'type'		=> 'hurt',
			'atk'		=> true,
			'dodge'		=> true,
			'loss_sta'	=> 8,// 每回合损失4%的体力
			'back_sta'	=> 100,// 每回合loss_sta损失的体力中有多少反馈给攻击方
			'bout'  	=> array(1,3),
			'out_ef'	=> array(8,17),//对某系属性无效
			'beCovered' => array(),
		),
		'curse'		=> array(
			'name'		=> '诅咒',
			'type'		=> 'hurt',
			'atk'		=> true,
			'dodge'		=> true,
			'loss_sta'	=> 8,// 每回合损失4%的体力
			'back_sta'	=> 100,// 每回合loss_sta损失的体力中有多少反馈给攻击方
			'bout'  	=> array(1,3),
			'out_ef'	=> array(14,16),//对某系属性无效
			'beCovered' => array(),
		),
		
		
		//-- 削弱类
		'fear'		=> array(
			'name'		=> '害怕',
			'type'		=> 'weaken',
			'atk'		=> true,
			'dodge'		=> true,
			'-spe_atk'	=> 20,//特攻降低20%
			'bout'  	=> array(1,3),
			'out_ef'	=> array(99),//对某系属性无效
			'beCovered' => array(),
		),
		'disability'=> array(
			'name'		=> '无力',
			'type'		=> 'weaken',
			'atk'		=> true,
			'dodge'		=> true,
			'-atk'		=> 20,//普攻降低20%
			'bout'  	=> array(1,3),
			'out_ef'	=> array(99),//对某系属性无效
			'beCovered' => array(),
		),
		'deaf'		=> array(
			'name'		=> '变聋',
			'type'		=> 'weaken',
			'atk'		=> true,
			'dodge'		=> true,
			'-spe_def'	=> 20,//特防降低20%
			'bout'  	=> array(1,3),
			'out_ef'	=> array(99),//对某系属性无效
			'beCovered' => array(),
		),
		'weakness'	=> array(
			'name'		=> '虚弱',
			'type'		=> 'weaken',
			'atk'		=> true,
			'dodge'		=> true,
			'-def'		=> 20,
			'bout'  	=> array(1,3),
			'out_ef'	=> array(99),//对某系属性无效
			'beCovered' => array(),
		),
		'slow'	=> array(
			'name'		=> '迟缓',
			'type'		=> 'weaken',
			'atk'		=> true,
			'dodge'		=> true,
			'-spd'		=> 20,
			'bout'  	=> array(1,3),
			'out_ef'	=> array(99),//对某系属性无效
			'beCovered' => array(),
		),
		'blind'		=> array(
			'name'		=> '致盲',
			'type'		=> 'weaken',
			'atk'		=> true,
			'dodge'		=> true,
			'-hit'		=> 20,// 命中减少
			'bout'  	=> array(1,3),
			'out_ef'	=> array(99),//对某系属性无效
			'beCovered' => array(),
		),
		
		//-- 特殊
		'helpless'	=> array(
			'name'		=> '无助',
			'type'		=> 'special',
			'atk'		=> true,
			'dodge'		=> true,
			'+becrited'	=> 20,// 被暴击机率增加20
			'bout'  	=> 1,
			'out_ef'	=> array(99),//对某系属性无效
			'beCovered' => array(),
		),
		'fall_over'	=> array(
			'name'		=> '倒地',
			'type'		=> 'special',
			'atk'		=> true,
			'dodge'		=> true,
			'bout'  	=> 1,
			'out_ef'	=> array(99),//对某系属性无效
			'beCovered' => array(),
		),
		'mortis'	=> array(
			'name'		=> '濒死',
			'type'		=> 'special',
			'+behurted'	=> 50,// 受到的伤害增加50%
			'atk'		=> true,
			'dodge'		=> true,
			'bout'  	=> 1,
			'out_ef'	=> array(99),//对某系属性无效
			'beCovered' => array(),
		),
		
	),
	
);
return array(
	1 => array(
		'title' => '撞击',
		'descr' => '',
		'attr'	=> 1,//属性:1-普,2-火,3-水,4-电,5-草
		'type'	=> 1,//类型:1-普攻,2-特攻,3-辅助
		'pre_skill'	=> 0,//类型:1-普攻,2-特攻
		'param1'	=> 5,//参数1
		'param2'	=> 1.15,//参数2
		'param3'	=> 1.5,//参数3
		'times'		=> 50,//次数
		'cool_down'	=> 0,//冷却时间
		'spd'		=> 10,//冷却时间
		'hit'		=> 95,//命中
		'crit'		=> 1,//暴击
		'need_venture_lvl' => 1,
		'need_coin' => 200,
	
		'cd_time' => 300,
		'add_atk' => 0,
		'add_def' => 0,
		'add_spe_atk' => 0,
		'add_spe_def' => 0,
		'add_spd' => 0,
		'add_sta' => 0,
	),
	2 => array(
		'title' => '拍打',
		'descr' => '',
		'attr'	=> 1,
		'type'	=> 1,
		'pre_skill'	=> 1,
		'param1'	=> 22,
		'param2'	=> 1.23,
		'param3'	=> 2.5,
		'times'		=> 25,
		'cool_down'	=> 0,
		'spd'		=> 20,
		'hit'		=> 90,
		'crit'		=> 5,
		'need_venture_lvl' => 2,
		'need_coin' => 200,
		'cd_time'	=> 300,
	
		'add_status_list' => array(
			'atk',
			'spd'
		),
	),
	3 => array(
		'title' => '连续拳击',
		'descr' => '',
		'attr'	=> 1,
		'type'	=> 1,
		'pre_skill'	=> 1,
		'param1'	=> 18,
		'param2'	=> 1.25,
		'param3'	=> 2.6,
		'times'		=> 25,
		'cool_down'	=> 0,
		'spd'		=> 50,
		'hit'		=> 90,
		'crit'		=> 1,
		'need_venture_lvl' => 2,
		'need_coin' => 200,
		'cd_time'	=> 300,
	
		'add_status_list' => array(
			'atk',
			'spd'
		),
	),
	4 => array(
		'title' => '高速旋转',
		'descr' => '暴击较高',
		'attr'	=> 1,
		'type'	=> 1,
		'pre_skill'	=> 2,
		'param1'	=> 45,
		'param2'	=> 1.28,
		'param3'	=> 2.8,
		'times'		=> 15,
		'cool_down'	=> 0,
		'spd'		=> 30,
		'hit'		=> 80,
		'crit'		=> 10,
		'need_venture_lvl' => 2,
		'need_coin' => 200,
		'cd_time' => 300,
	
		'add_status_list' => array(
			'atk',
			'spd',
		),
		
	),
	5 => array(
		'title' => '连环巴掌',
		'descr' => '15%令目标害怕',
		'attr'	=> 1,
		'type'	=> 1,
		'pre_skill'	=> 3,
		'param1'	=> 41,
		'param2'	=> 1.3,
		'param3'	=> 3.3,
		'times'		=> 15,
		'cool_down'	=> 0,
		'spd'		=> 80,
		'hit'		=> 80,
		'crit'		=> 1,
		'need_venture_lvl' => 11,
		'need_coin' => 200,
	
		'add_status_list' => array(
			'atk',
			'spd',
		),
		
		'add_debuff' => 'fear',
		'add_debuff_rate' => 15,
	),
	6 => array(
		'title' => '践踏',
		'descr' => '15%令目标昏迷',
		'attr'	=> 1,
		'type'	=> 1,
		'pre_skill'	=> 5,
		'param1'	=> 87,
		'param2'	=> 1.44,
		'param3'	=> 4,
		'times'		=> 5,
		'cool_down'	=> 0,
		'spd'		=> 100,
		'hit'		=> 70,
		'crit'		=> 1,
		'need_venture_lvl' => 2,
		'need_coin' => 200,
		'cd_time' => 300,
	
		'add_status_list' => array(
			'atk',
			'spd',
		),
		'add_debuff' => 'coma',
		'add_debuff_rate' => 15,
	),
	7 => array(
		'title' => '三角攻击',
		'descr' => '',
		'attr'	=> 1,
		'type'	=> 2,
		'pre_skill'	=> 0,
		'param1'	=> 87,
		'param2'	=> 1.44,
		'param3'	=> 4,
		'times'		=> 5,
		'cool_down'	=> 0,
		'spd'		=> 100,
		'hit'		=> 70,
		'crit'		=> 1,
		'need_venture_lvl' => 2,
		'need_coin' => 200,
		'cd_time' => 300,
	
		'add_status_list' => array(
			'atk',
		),
	),
	8 => array(
		'title' => '破坏光线',
		'descr' => '',
		'attr'	=> 1,
		'type'	=> 2,
		'pre_skill'	=> 7,
		'param1'	=> 87,
		'param2'	=> 1.44,
		'param3'	=> 4,
		'times'		=> 5,
		'cool_down'	=> 0,
		'spd'		=> 100,
		'hit'		=> 70,
		'crit'		=> 1,
		'need_venture_lvl' => 2,
		'need_coin' => 200,
		'cd_time' => 300,
	
		'add_status_list' => array(
			'atk',
		),
	),
	9 => array(
		'title' => '高音',
		'descr' => '',
		'attr'	=> 1,
		'type'	=> 2,
		'pre_skill'	=> 8,
		'param1'	=> 87,
		'param2'	=> 1.44,
		'param3'	=> 4,
		'times'		=> 5,
		'cool_down'	=> 0,
		'spd'		=> 100,
		'hit'		=> 70,
		'crit'		=> 2,
		'need_venture_lvl' => 2,
		'need_coin' => 200,
		'cd_time' => 300,
	
		'add_status_list' => array(
			'atk',
		),
		
		'add_debuff' => 'fear',
		'add_debuff_rate' => 15,
	),
	10 => array(
		'title' => '音爆',
		'descr' => '',
		'attr'	=> 1,
		'type'	=> 2,
		'pre_skill'	=> 8,
		'param1'	=> 87,
		'param2'	=> 1.44,
		'param3'	=> 4,
		'times'		=> 5,
		'cool_down'	=> 0,
		'spd'		=> 100,
		'hit'		=> 70,
		'crit'		=> 2,
		'need_venture_lvl' => 2,
		'need_coin' => 200,
		'cd_time' => 300,
	
		'add_status_list' => array(
			'atk',
		),
	),
	11 => array(
		'title' => '超音波',
		'descr' => '',
		'attr'	=> 1,
		'type'	=> 2,
		'pre_skill'	=> 9,
		'param1'	=> 87,
		'param2'	=> 1.44,
		'param3'	=> 4,
		'times'		=> 5,
		'cool_down'	=> 0,
		'spd'		=> 100,
		'hit'		=> 70,
		'crit'		=> 2,
		'need_venture_lvl' => 2,
		'need_coin' => 200,
		'cd_time' => 300,
	
		'add_status_list' => array(
			'atk',
		),
		
		'add_debuff' => 'fear',
		'add_debuff_rate' => 15,
	),
	12 => array(
		'title' => '灭亡之歌',
		'descr' => '',
		'attr'	=> 1,
		'type'	=> 2,
		'pre_skill'	=> 10,
		'param1'	=> 87,
		'param2'	=> 1.44,
		'param3'	=> 4,
		'times'		=> 5,
		'cool_down'	=> 0,
		'spd'		=> 100,
		'hit'		=> 70,
		'crit'		=> 2,
		'need_venture_lvl' => 2,
		'need_coin' => 200,
		'cd_time' => 300,
	
		'add_status_list' => array(
			'atk',
		),
	),
	13 => array(
		'title' => '恢复精神',
		'descr' => '',
		'attr'	=> 1,
		'type'	=> 3,
		'pre_skill'	=> 0,
		'param1'	=> 87,
		'param2'	=> 1.44,
		'param3'	=> 4,
		'times'		=> 5,
		'cool_down'	=> 0,
		'spd'		=> 99999,
		'hit'		=> 70,
		'crit'		=> 2,
		'skill_target' => 'self',// 技能辅助效果针对自己
		'last_bout' => 999,
		'need_venture_lvl' => 2,
		'need_coin' => 200,
		'cd_time' => 300,
	
		'add_status_list' => array(
			'spd',
		),
	),
	14 => array(
		'title' => '集中力量',
		'descr' => '',
		'attr'	=> 1,
		'type'	=> 3,
		'pre_skill'	=> 0,
		'param1'	=> 87,
		'param2'	=> 1.44,
		'param3'	=> 4,
		'times'		=> 5,
		'cool_down'	=> 0,
		'spd'		=> 99999,
		'hit'		=> 70,
		'crit'		=> 2,
		'skill_target' => 'self',// 技能辅助效果针对自己
		'last_bout' => 999,
		'need_venture_lvl' => 2,
		'need_coin' => 200,
		'cd_time' => 300,
	
		'add_status_list' => array(
			
		),
		
		// 增加普系技能伤害 
		'add_attr_atk' => 1,
	),
	15 => array(
		'title' => '祈福',
		'descr' => '',
		'attr'	=> 1,
		'type'	=> 3,
		'pre_skill'	=> 0,
		'param1'	=> 87,
		'param2'	=> 1.44,
		'param3'	=> 4,
		'times'		=> 5,
		'cool_down'	=> 0,
		'spd'		=> 99999,
		'hit'		=> 70,
		'crit'		=> 2,
		'skill_target' => 'team',// 技能辅助效果针对自己
		'last_bout' => 999,
		'need_venture_lvl' => 2,
		'need_coin' => 200,
		'cd_time' => 300,
	
		'add_status_list' => array(
			'spd',
		),
	),
	16 => array(
		'title' => '神秘护符',
		'descr' => '',
		'attr'	=> 1,
		'type'	=> 3,
		'pre_skill'	=> 0,
		'param1'	=> 87,
		'param2'	=> 1.44,
		'param3'	=> 4,
		'times'		=> 5,
		'cool_down'	=> 0,
		'spd'		=> 99999,
		'hit'		=> 70,
		'crit'		=> 2,
		'skill_target' => 'self',// 技能辅助效果针对自己
		'last_bout' => 999,
		'need_venture_lvl' => 2,
		'need_coin' => 200,
		'cd_time' => 300,
	
		'add_status_list' => array(
			'spe_def',
		),
	),
	17 => array(
		'title' => '治愈之铃',
		'descr' => '',
		'attr'	=> 1,
		'type'	=> 3,
		'pre_skill'	=> 0,
		'param1'	=> 87,
		'param2'	=> 1.44,
		'param3'	=> 4,
		'times'		=> 5,
		'cool_down'	=> 0,
		'spd'		=> 99999,
		'hit'		=> 70,
		'crit'		=> 2,
		'skill_target' => 'rand',// 技能辅助效果针对自己
		'last_bout' => 999,
		'need_venture_lvl' => 2,
		'need_coin' => 200,
		'cd_time' => 300,
	
		'add_status_list' => array(
			'sta',
		),
	),
);